﻿using Newtonsoft.Json;
using SIE.SCADA.SuperSocket.Rpc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Model.Core
{
    class Rpc
    {
       
    }

    [Serializable]
    public class RpcParaArg
    {
        public object Data { get; set; }

        public string Error { get; set; }

        [JsonIgnore]
        public DateTime Timestamp { get; set; }

        public string RequestId { get; set; }

        public string IsSuccess { get; set; }

    }

    public class RpcParaParm
    {
        public RpcPara rpcPara { get; set; }
    }

    public class RpcPara
    {
        public string MethodName { get; set; }


        public string[] Paras { get; set; }
    }
}
